package cn.example.project1.dao;

import cn.example.project1.po.Msg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by WuYB on 2017/6/19.
 */
@Mapper
@Repository
public interface MsgDAO {

    int insert(Msg s);

    Msg getById(@Param("id") Long id);
}